Given a goal {}, return a Python dict following the instructions in the system prompt.